<?php
/*
 * Created by: Dikkehein <Clemens Wijnekus, c.wijnekus@gmail.com>
 */
?>

<section id="main" class="column">
    <article class="module width_full">
        <header><h3>Gebruiker aanmaken</h3></header>
        <div class="module_content">
            <?php echo form_open('gebruiker/aanmaken'); ?>

            <?php if (validation_errors()) : ?>
                <h3>Whoops! Foutje:</h3>
                <p><?php echo validation_errors(); ?></p>
            <?php endif; ?>

            <table border="0">
                <tr>
                    <td>Voornaam: </td>
                    <td><?php echo form_input($voornaam); ?></td>
                </tr>
                <tr>
                    <td>Achternaam: </td>
                    <td><?php echo form_input($achternaam); ?></td>
                </tr>
                <tr>
                    <td>Email: </td>
                    <td><?php echo form_input($email); ?></td>
                </tr>
                <tr>
                    <td>Wachtwoord: </td>
                    <td><?php echo form_password($wachtwoord); ?></td>
                </tr>
                <tr>
                    <td>Wachtwoord controle: </td>
                    <td><?php echo form_password($wachtwoord2); ?></td>
                </tr>
                <tr>
                    <td>&nbsp</td>
                    <td></td>
                </tr>
                <tr>
                    <td><?php echo form_submit('submit', 'Aanmaken'); ?></td>
                    <td><?php echo anchor('gebruiker/index', 'Cancel'); ?></td>
                </tr>
            </table>
            <?php echo form_close(); ?>
        </div>
    </article><!-- end of styles article -->
</section>